package com.project.bean;

import java.time.LocalDate;

public class RecordBean {
    //设施记录id
    private Integer recordId;
    //报损描述
    private String recordDec;
    //报损日期 默认--当天
    private LocalDate recordDate = LocalDate.now();
    //状态 默认--未解决
    private String recordState = "未解决";
    //所属房间
    private RoomBean roomBean;

    public RecordBean() {
    }

    public RecordBean(String recordDec, RoomBean roomBean) {
        this.recordDec = recordDec;
        this.roomBean = roomBean;
    }

    public RecordBean(String recordDec, LocalDate recordDate, String recordState, RoomBean roomBean) {
        this.recordDec = recordDec;
        this.recordDate = recordDate;
        this.recordState = recordState;
        this.roomBean = roomBean;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public String getRecordDec() {
        return recordDec;
    }

    public void setRecordDec(String recordDec) {
        this.recordDec = recordDec;
    }

    public LocalDate getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(LocalDate recordDate) {
        this.recordDate = recordDate;
    }

    public String getRecordState() {
        return recordState;
    }

    public void setRecordState(String recordState) {
        this.recordState = recordState;
    }

    public RoomBean getRoomBean() {
        return roomBean;
    }

    public void setRoomBean(RoomBean roomBean) {
        this.roomBean = roomBean;
    }
}
